package com.example.skillcinema.db.localdb.tables

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "history")
data class HistoryEntity(
    @PrimaryKey(autoGenerate = true)
    @ColumnInfo(name = "history_id")
    val historyId: Long = 0,
    @ColumnInfo(name = "element_id")
    val elementId: Int,
    @ColumnInfo(name = "view_date")
    val viewDate: Long = System.currentTimeMillis()
)